package com.xk.meeting.service;

import com.xk.meeting.dao.AdminDao;
import com.xk.meeting.dao.AdminDaoImpl;
import com.xk.meeting.entity.Admin;

public class AdminServiceImpl implements AdminService{
    private AdminDao adminDao = new AdminDaoImpl();
    @Override
    public Admin login(String username, String password) {
        return adminDao.login(username,password);
    }

    @Override
    public int update(int id, String password) {
        return adminDao.update(id,password);
    }
}
